package org.gw.building.model;

import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.gw.building.model.base.TzggFj;

import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * 通知公告
    * @ClassName: Tzgg
    * @author liuyong
    * @date 2017年7月31日
 */
@Data
@NoArgsConstructor
@Entity
@Table(name = "T_TZGG")
public class Tzgg {
	@Id
    @Column(length = 40)
    //代码
    private String id;
	
	@Column(length = 200)
	//标题
	private String bt;
	
	//内容
	private String nr;
	
	@Column(length = 40)
	//发布人
	private String fbr;
	
	@Column(length = 40)
	//创建人
	private String cjr;
	
	@Column(length = 40)
	//创建时间
	private String cjsj;
	
	@Column(length = 40)
	//修改人
	private String xgr;
	
	@Column(length = 40)
	//修改时间
	private String xgsj;
	
	@Column(length = 1)
	//发布状态
	private String fbzt;
	
	@Transient
	private List<TzggFj> fjList;
	
}
